package text;

public class son2 extends Father{
    private Father father;

    public son2(Father father) {
        this.father = father;
    }

    @Override
    public String getcode() {
        return "2"+this.father.getcode();
    }
}
